/*
 * @auth {Boolean} option  default value true
 * @path {String} required
 * @method {String} one of get post put delete
 * @params {Object} option
 */

import {
  bool, number, string, array, arrayOf, oneOf, oneOfType, shape, object
} from 'prop-types';

var exports = {};

/*
 * 获取公交站点
 */
exports.getBusStop = {
  path: '/traffic/gjc/getBusStop',
  method: 'get',
  params: {
    name: string.isRequired,
    lineid: number.isRequired
  }
}


/*
 * 公交到站点时间
 */
exports.getArriveBase = {
  path: '/traffic/gjc/getArriveBase',
  method: 'get',
  params: {
    name: string.isRequired,
    lineid: number.isRequired,
    stopid: number.isRequired,
    direction: number.isRequired,
  }
}

export default exports;
